Static_cache_driver
└─File_cache
public class File_cache
extends Static_cache_driver
Field Summary | |
---|---|
private string | Cache root directory |
Constructor Summary | |
---|---|
File_cache | __construct(string dir) Cache storage object constructor |
Method Summary | |
---|---|
void | clear(mixed realm) |
bool | exists(string id, string realm, int ttl) Checks if an object is stored in disk cache |
mixed | get(string id, string realm, int ttl) Gets an object directly from disk |
void | remove(string id, string realm) Removes cache image of the object from disk |
bool | store(string id, mixed data, string realm) Stores disk cache entry |
Methods inherited from API - Cache\Static_cache_driver | |
---|---|
store |
private string $dir = 1
public File_cache __construct(string dir)
public void clear(mixed realm)
public bool exists(string id, string realm, int ttl)
public mixed get(string id, string realm, int ttl)
public void remove(string id, string realm)
public bool store(string id, mixed data, string realm)